package com.itheima.service;

import com.itheima.vo.PageResultVo;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

@Service
public class SmsCouponHistoryService {
    @DubboReference
    private SmsCouponHistoryApi couponHistoryApi;

    public PageResultVo queryCouponList(Integer couponId, Integer pageNum,
                                        Integer pageSize, Integer useStatus, String orderSn) {
        return couponHistoryApi.getPages(couponId, pageNum, pageSize, useStatus, orderSn);
    }
}
